#ifndef CONTACT_H
#define CONTACT_H

#include <QString>

#include <gloox/jid.h>
#include <gloox/presence.h>
#include <ctime>


using namespace gloox;

class Contact
{
    gloox::JID contactJid;
    int contactPriority;
    Presence::PresenceType contactPresence;
    time_t contactLocalTime;
    time_t contactInactionTime;
    QString contactClientInfo;
    QString contactName;
    QString contactOs;
public:
    Contact();

    // setters, getters
    void setJid(gloox::JID jid);
    gloox::JID jid();
    void setPriority(int priority);
    int priority();
    void setPresence(Presence::PresenceType presenceType);
    Presence::PresenceType presence();
    void setLocalTime(time_t tm);
    time_t localTime();
    void setInactionTime(time_t tm);
    time_t inactionTime();
    void setClientInfo(QString info);
    QString clientInfo();
    void setName(QString name);
    QString name();
    void setOs(QString os);
    QString os();
};

#endif // CONTACT_H
